﻿using System.Collections.Generic;
using BoldBrick.OneIntranet.HR.Properties;
using BoldBrick.SharePoint.CommonControls.DataObjects.Base;

namespace BoldBrick.OneIntranet.HR.DataObjects.ContentTypes.CandidatesContentTypes
{
	/// <summary>
	/// Metadata class of "Candidate" content type
	/// </summary>
	public class CandidateContentType : BaseContentType
	{
		protected override string GetContentTypeID()
		{
			return Settings.Default.ContentType_Candidate_ID;
		}

		protected override string GetNameResourceKey()
		{
			return "ContentType_Candidate_Name";
		}

		protected override string GetDescriptionResourceKey()
		{
			return "ContentType_Candidate_Description";
		}

		public override List<ListColumn> GetListColumns()
		{
			List<ListColumn> columns = new List<ListColumn>
			                           	{
			                           		SiteColumns.LastNameColumn,
			                           		SiteColumns.FirstNameColumn,
											SiteColumns.CandidateEmailColumn,
			                           		SiteColumns.CandidatePhoneNumberColumn,

											SiteColumns.CommunicationLanguageColumn,

			                           		SiteColumns.PositionLookupColumn,
			                           		SiteColumns.EmploymentTypesLookupColumn,
			                           		SiteColumns.SeniorityLevelLookupColumn,
			                           		SiteColumns.SalaryExpectationColumn,
			                           		SiteColumns.SalaryOfferedColumn,

											SiteColumns.SourceLookupColumn,
											SiteColumns.LinkedInProfileColumn,
			                           		SiteColumns.FacebookProfileColumn,
			                           		SiteColumns.BlogLinkColumn,
			                           		SiteColumns.OtherInternetLinkColumn,
											
											SiteColumns.CandidateResultColumn
			                           	};
			return columns;
		}
	}
}
